import requests

cookies = {
    'ali_apache_id': '33.102.195.126.1719628901732.396262.2',
    'cna': 'ZWIGH83iiRICATtSVB9DtDNh',
    'cookie2': '1a6527b7185ed4be4a96b9a4a362cde8',
    'sc_g_cfg_f': 'sc_b_currency=CNY&sc_b_locale=en_US&sc_b_site=CN',
    'icbu_s_tag': '9_11',
    'XSRF-TOKEN': 'c8fbbbd0-5dce-48a4-b7c7-59c46b68f5ab',
    'buyer_ship_to_info': 'local_country=CN',
    'NWG': 'NNW',
    't': '14b1aa15b89ddd79d4ad742f2b7587b3',
    '_tb_token_': '547f961d35b57',
    'xman_us_f': 'x_l=0',
    'acs_usuc_t': 'acs_rt=40aabcd6f38a48789405f2a838c69fe4',
    'xman_t': 'k+cYM5Nau7u2tqRMFU0vH7FwPK+v+xPNYNadjYXBuJIU/2D5xj4lM/OB+N1YF3Q9',
    'xman_f': 'ZQq7D/ljyuFqywh7jliQzeb/szaUN0HBd4OXUOoHdelx09mgMxygqxD8NRj0uP9pirCKBEmWF4Jm8256OPxR8dMch7S2CX5EBzoS06SMP45yBfup05Dg9g==',
    '_samesite_flag_': 'true',
    '_m_h5_tk': 'a4210779e6a45c5fc585eae1571f24c6_1719636150040',
    '_m_h5_tk_enc': '1eb035e28556ce8e91a6c04777801c2d',
    'tfstk': 'fEoKIo_0pCAn1_ToAvTiEuCog_piJDHEXXkfq7VhPfhtLfFhKek524FtwuDHzez825hztyqBTb3-3bnhq2DlybFtOg4nZ03N2xkrxprkLkkU4uODinx-LvrrfA2-eCD6F8oPQnAXmvkFC8DDm_-cybM0WLFSNya15-N_dawSNlZ_n5sQFMw51dez17Z7Pua_f8wPR9_IG5Ju1aP524F1RA21noj5VDtzJSBasRyZXJULGPNhVYmTpyFjdDJNYZwsjcU0STAUfxuiOREvvsyK5xEQe0Jfy7U-YlFtMnszQ2GKfznMUekt2WUjAPKJnxE8Fba-7II0pk0TkD3eU1MIiW3bYYXvtAUxWry_5TQQxqDm4riBvsPgu8hTo2dAvjsyimmAnU50M8bBBdQPzywiFNjA83i-TuyTipLlzazMlRFDBdQPzywaBSviDa7zSE1..',
    'mp_8b1215dbcc852955566c4df66e547374_mixpanel': '%7B%22distinct_id%22%3A%20%2219061deb1f42191-06ccb33e5f91d3-4c657b58-1bcab9-19061deb1f52d65%22%2C%22%24device_id%22%3A%20%2219061deb1f42191-06ccb33e5f91d3-4c657b58-1bcab9-19061deb1f52d65%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D',
    '_csrf_token': '1719629383077',
    'ug_se_c': 'organic_1719629432101',
    'ali_apache_track': '',
    'ali_apache_tracktmp': '',
    'isg': 'BJKSReZfIFKOblwu-D0lYvJf41h0o5Y9hV_yf1zK6MNnbzVpRzboTSrM38vTHw7V',
}

headers = {
    'accept': '*/*',
    'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
    # 'cookie': 'ali_apache_id=33.102.195.126.1719628901732.396262.2; cna=ZWIGH83iiRICATtSVB9DtDNh; cookie2=1a6527b7185ed4be4a96b9a4a362cde8; sc_g_cfg_f=sc_b_currency=CNY&sc_b_locale=en_US&sc_b_site=CN; icbu_s_tag=9_11; XSRF-TOKEN=c8fbbbd0-5dce-48a4-b7c7-59c46b68f5ab; buyer_ship_to_info=local_country=CN; NWG=NNW; t=14b1aa15b89ddd79d4ad742f2b7587b3; _tb_token_=547f961d35b57; xman_us_f=x_l=0; acs_usuc_t=acs_rt=40aabcd6f38a48789405f2a838c69fe4; xman_t=k+cYM5Nau7u2tqRMFU0vH7FwPK+v+xPNYNadjYXBuJIU/2D5xj4lM/OB+N1YF3Q9; xman_f=ZQq7D/ljyuFqywh7jliQzeb/szaUN0HBd4OXUOoHdelx09mgMxygqxD8NRj0uP9pirCKBEmWF4Jm8256OPxR8dMch7S2CX5EBzoS06SMP45yBfup05Dg9g==; _samesite_flag_=true; _m_h5_tk=a4210779e6a45c5fc585eae1571f24c6_1719636150040; _m_h5_tk_enc=1eb035e28556ce8e91a6c04777801c2d; tfstk=fEoKIo_0pCAn1_ToAvTiEuCog_piJDHEXXkfq7VhPfhtLfFhKek524FtwuDHzez825hztyqBTb3-3bnhq2DlybFtOg4nZ03N2xkrxprkLkkU4uODinx-LvrrfA2-eCD6F8oPQnAXmvkFC8DDm_-cybM0WLFSNya15-N_dawSNlZ_n5sQFMw51dez17Z7Pua_f8wPR9_IG5Ju1aP524F1RA21noj5VDtzJSBasRyZXJULGPNhVYmTpyFjdDJNYZwsjcU0STAUfxuiOREvvsyK5xEQe0Jfy7U-YlFtMnszQ2GKfznMUekt2WUjAPKJnxE8Fba-7II0pk0TkD3eU1MIiW3bYYXvtAUxWry_5TQQxqDm4riBvsPgu8hTo2dAvjsyimmAnU50M8bBBdQPzywiFNjA83i-TuyTipLlzazMlRFDBdQPzywaBSviDa7zSE1..; mp_8b1215dbcc852955566c4df66e547374_mixpanel=%7B%22distinct_id%22%3A%20%2219061deb1f42191-06ccb33e5f91d3-4c657b58-1bcab9-19061deb1f52d65%22%2C%22%24device_id%22%3A%20%2219061deb1f42191-06ccb33e5f91d3-4c657b58-1bcab9-19061deb1f52d65%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D; _csrf_token=1719629383077; ug_se_c=organic_1719629432101; ali_apache_track=; ali_apache_tracktmp=; isg=BJKSReZfIFKOblwu-D0lYvJf41h0o5Y9hV_yf1zK6MNnbzVpRzboTSrM38vTHw7V',
    'origin': 'https://www.alibaba.com',
    'priority': 'u=1, i',
    'referer': 'https://www.alibaba.com/',
    'sec-ch-ua': '"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-site',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0',
}

response = requests.get(
    'https://open-s.alibaba.com/openservice/galleryProductSNBusinessService?keywords=garagedoors&tab=all&',
    cookies=cookies,
    headers=headers,
)
print(response.text)